package top.whysu.rongcloud.po;

import top.whysu.rongcloud.constant.RongCloudConstant;
import top.whysu.rongcloud.entity.BaseEntity;

import java.math.BigDecimal;

/**
 * @author whysu
 * @version 1.00.00
 * @description 融云--群组成员
 * @copyright
 * @company
 * @date 2021-03-16 8:21
 */
public class RongCloudGroupMemberPO extends BaseEntity {
    /**
     * 群组id（对应e_rong_cloud_groups的id）
     */
    private BigDecimal groupId;

    /**
     * 成员id（对应e_rong_cloud_user的account）
     */
    private String memberAccount;
    /**
     * 备注
     */
    private String displayName;
    /**
     * 角色 {@link RongCloudConstant.Groups.Role}
     */
    private Integer role;

    public BigDecimal getGroupId() {
        return groupId;
    }

    public void setGroupId(BigDecimal groupId) {
        this.groupId = groupId;
    }

    public String getMemberAccount() {
        return memberAccount;
    }

    public void setMemberAccount(String memberAccount) {
        this.memberAccount = memberAccount;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }
}